package com.hicorp.segment.pojo.po;

import com.alibaba.fastjson.JSONObject;
import com.hicorp.segment.pojo.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class Receipts extends BaseDO {

    private String no;

    private String name;

    private JSONObject idJson;

    private String remark;

    private String receiptsType;

    private String approveStatus;

    private String noHand;

    private String invalid;

    private String tableNameSub;


    @Transient
    private String tableName;


    @Transient
    private List<ReceiptsSub> receiptsSub;

    //以下用于搜索的临时字段
    @Transient
    private Date createGmtStart;
    @Transient
    private Date createGmtEnd;
    @Transient
    private Date modifiedGmtStart;
    @Transient
    private Date modifiedGmtEnd;
}
